﻿//using System;
//using System.Collections.Generic;
//using System.Linq;
//using System.Text;

//using Pibby.Core.Views;


//namespace Pibby.Core.Tests.Stubs
//{
//    public class RssEpisodesView : EpisodeView, IRssEpisodesView
//    {
//        public event EventHandler CheckForEpisodes;

//        public event EventHandler<EpisodeEventArgs> IgnoreEpisode;

//        public void SimulateCheckForEpisodes()
//        {
//            if (this.CheckForEpisodes != null)
//                this.CheckForEpisodes(this, EventArgs.Empty);
//        }

//        public void SimulateIgnoreEpisode(string id)
//        {
//            if (this.IgnoreEpisode != null)
//                this.IgnoreEpisode (this, new EpisodeEventArgs (id, true));
//        }


//        public void RssRefreshStarting(int items)
//        {
//            this.RefreshFinishCalled = true;
//            this.TotalItemsToRefresh = items;
//            this.ItemsRefreshed = 0;
//        }

//        public int TotalItemsToRefresh
//        {
//            get;
//            private set;
//        }

//        public void RssRefreshProgress(int item)
//        {
//            ++this.ItemsRefreshed;
//        }

//        public int ItemsRefreshed
//        {
//            get;
//            private set;
//        }

//        public void RssRefreshFinished()
//        {
//            this.RefreshFinishCalled = true;
//        }

//        public bool RefreshFinishCalled
//        {
//            get;
//            private set;
//        }

//    }
//}
